package org.edith.shiro.dao;

import org.apache.ibatis.annotations.Insert;

/**
 *  用户与角色关系DAO
 *
 */
public interface SysUserRoleDAO {
	@Insert( " create table if not exists sys_user_role\n" +
			"        (\n" +
			"          id      bigint auto_increment comment 'ID' primary key,\n" +
			"          user_id bigint null comment '用户ID',\n" +
			"          role_id bigint null comment '角色ID'\n" +
			"        ) comment '用户与角色关系表' charset = utf8;" )
	void createTable();
}
